#! /usr/bin/env python
# -*- coding: utf-8 -*-
#
# (c) Copyright 2010 - BidiX@BidiX.info
#
#
'''
    test - for testing purpose
    
    Description :
 
     Usage :
     
'''
from bidix.html.article import ArticlePage
from bidix.db import Article
class Init(ArticlePage):
    '''
    classdocs
    '''
    def format_main(self):
        result = "<pre>\n"
        a = Article.add_or_replace('home', name ='home', title="Home page", text="Welcome !", tags=['t3', 't4'])
        result +="</pre>"
        return result
        